package com.atguigu.lease.web.admin.service.impl;

import com.atguigu.lease.model.entity.LeaseAgreement;
import com.atguigu.lease.web.admin.mapper.LeaseAgreementMapper;
import com.atguigu.lease.web.admin.service.LeaseAgreementService;
import com.atguigu.lease.web.admin.vo.agreement.AgreementQueryVo;
import com.atguigu.lease.web.admin.vo.agreement.AgreementVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * ClassName: LeaseAgreementServiceImpl
 * Package: com.atguigu.lease.web.admin.service.impl
 * Description:
 *
 * @Author ygf
 * @Create 2024/9/27 18:48
 * @Version 1.0
 */
@Service
public class LeaseAgreementServiceImpl extends ServiceImpl<LeaseAgreementMapper, LeaseAgreement> implements LeaseAgreementService {


    @Autowired
    LeaseAgreementMapper leaseAgreementMapper;
    @Override
    public IPage<AgreementVo> getListPage(Page<AgreementVo> page, AgreementQueryVo queryVo) {
        IPage<AgreementVo> iPage = leaseAgreementMapper.getListPage(page,queryVo);
        return iPage;
    }
}
